home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16538 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 75 | 64 2e 63 63 2e 73 77 69 |Path: bu|d.cc.swi|
|00000010| 6e 2e 65 64 75 2e 61 75 | 21 30 37 39 35 31 39 0a |n.edu.au|!079519.|
|00000020| 46 72 6f 6d 3a 20 4a 6f | 68 6e 20 4a 6f 73 65 70 |From: Jo|hn Josep|
|00000030| 68 20 4e 65 77 62 69 67 | 69 6e 20 3c 30 37 39 35 |h Newbig|in <0795|
|00000040| 31 39 40 62 75 64 2e 63 | 63 2e 73 77 69 6e 2e 65 |19@bud.c|c.swin.e|
|00000050| 64 75 2e 61 75 3e 0a 4e | 65 77 73 67 72 6f 75 70 |du.au>.N|ewsgroup|
|00000060| 73 3a 20 63 6f 6d 70 2e | 6c 61 6e 67 2e 63 2b 2b |s: comp.|lang.c++|
|00000070| 0a 53 75 62 6a 65 63 74 | 3a 20 52 65 3a 20 22 50 |.Subject|: Re: "P|
|00000080| 75 72 65 20 76 69 72 74 | 75 61 6c 20 66 75 6e 63 |ure virt|ual func|
|00000090| 74 69 6f 6e 20 63 61 6c | 6c 65 64 22 20 65 72 72 |tion cal|led" err|
|000000a0| 6f 72 20 77 69 74 68 20 | 53 70 61 72 63 77 6f 72 |or with |Sparcwor|
|000000b0| 6b 73 0a 44 61 74 65 3a | 20 54 68 75 2c 20 31 31 |ks.Date:| Thu, 11|
|000000c0| 20 41 70 72 20 31 39 39 | 36 20 31 31 3a 33 34 3a | Apr 199|6 11:34:|
|000000d0| 30 35 20 2b 31 30 30 30 | 0a 4f 72 67 61 6e 69 7a |05 +1000|.Organiz|
|000000e0| 61 74 69 6f 6e 3a 20 53 | 77 69 6e 62 75 72 6e 65 |ation: S|winburne|
|000000f0| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 54 | Univers|ity of T|
|00000100| 65 63 68 6e 6f 6c 6f 67 | 79 09 0a 4d 65 73 73 61 |echnolog|y..Messa|
|00000110| 67 65 2d 49 44 3a 20 3c | 50 69 6e 65 2e 4f 53 46 |ge-ID: <|Pine.OSF|
|00000120| 2e 33 2e 39 31 2e 39 36 | 30 34 31 31 31 31 32 37 |.3.91.96|04111127|
|00000130| 34 39 2e 31 31 32 37 35 | 41 2d 31 30 30 30 30 30 |49.11275|A-100000|
|00000140| 40 62 75 64 2e 63 63 2e | 73 77 69 6e 2e 65 64 75 |@bud.cc.|swin.edu|
|00000150| 2e 61 75 3e 0a 52 65 66 | 65 72 65 6e 63 65 73 3a |.au>.Ref|erences:|
|00000160| 20 3c 33 31 36 42 38 36 | 30 37 2e 34 31 43 36 37 | <316B86|07.41C67|
|00000170| 45 41 36 40 6a 70 6d 6f | 72 67 61 6e 2e 63 6f 6d |EA6@jpmo|rgan.com|
|00000180| 3e 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 48 |>.NNTP-P|osting-H|
|00000190| 6f 73 74 3a 20 62 75 64 | 65 2e 63 63 2e 73 77 69 |ost: bud|e.cc.swi|
|000001a0| 6e 2e 65 64 75 2e 61 75 | 0a 4d 69 6d 65 2d 56 65 |n.edu.au|.Mime-Ve|
|000001b0| 72 73 69 6f 6e 3a 20 31 | 2e 30 0a 43 6f 6e 74 65 |rsion: 1|.0.Conte|
|000001c0| 6e 74 2d 54 79 70 65 3a | 20 54 45 58 54 2f 50 4c |nt-Type:| TEXT/PL|
|000001d0| 41 49 4e 3b 20 63 68 61 | 72 73 65 74 3d 55 53 2d |AIN; cha|rset=US-|
|000001e0| 41 53 43 49 49 0a 49 6e | 2d 52 65 70 6c 79 2d 54 |ASCII.In|-Reply-T|
|000001f0| 6f 3a 20 3c 33 31 36 42 | 38 36 30 37 2e 34 31 43 |o: <316B|8607.41C|
|00000200| 36 37 45 41 36 40 6a 70 | 6d 6f 72 67 61 6e 2e 63 |67EA6@jp|morgan.c|
|00000210| 6f 6d 3e 20 0a 0a 4f 6e | 20 57 65 64 2c 20 31 30 |om> ..On| Wed, 10|
|00000220| 20 41 70 72 20 31 39 39 | 36 2c 20 4f 6c 69 76 65 | Apr 199|6, Olive|
|00000230| 72 20 50 65 63 6b 20 77 | 72 6f 74 65 3a 0a 0a 3e |r Peck w|rote:..>|
|00000240| 20 49 20 61 6d 20 75 73 | 69 6e 67 20 56 34 2e 30 | I am us|ing V4.0|
|00000250| 2e 31 20 6f 66 20 74 68 | 65 20 53 70 61 72 63 77 |.1 of th|e Sparcw|
|00000260| 6f 72 6b 73 20 43 2b 2b | 20 63 6f 6d 70 69 6c 65 |orks C++| compile|
|00000270| 72 2e 0a 3e 20 0a 3e 20 | 41 20 70 72 6f 67 72 61 |r..> .> |A progra|
|00000280| 6d 20 69 73 20 6f 63 63 | 61 73 69 6f 6e 61 6c 6c |m is occ|asionall|
|00000290| 79 20 63 72 61 73 68 69 | 6e 67 20 77 69 74 68 20 |y crashi|ng with |
|000002a0| 74 68 65 20 6d 65 73 73 | 61 67 65 3a 2d 0a 3e 20 |the mess|age:-.> |
|000002b0| 0a 3e 20 22 2a 2a 2a 2a | 20 20 50 75 72 65 20 76 |.> "****| Pure v|
|000002c0| 69 72 74 75 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 |irtual f|unction |
|000002d0| 63 61 6c 6c 65 64 22 0a | 3e 20 0a 3e 20 44 6f 65 |called".|> .> Doe|
|000002e0| 73 20 61 6e 79 6f 6e 65 | 20 6b 6e 6f 77 20 77 68 |s anyone| know wh|
|000002f0| 61 74 20 74 68 69 73 20 | 6d 61 79 20 6d 65 61 6e |at this |may mean|
|00000300| 3f 0a 3e 20 0a 0a 49 66 | 20 79 6f 75 20 68 61 76 |?.> ..If| you hav|
|00000310| 65 20 61 20 63 6c 61 73 | 73 20 74 68 61 74 20 69 |e a clas|s that i|
|00000320| 6e 68 65 72 69 74 73 20 | 61 6e 6f 74 68 65 72 20 |nherits |another |
|00000330| 63 6c 61 73 73 20 77 69 | 74 68 20 61 20 70 75 72 |class wi|th a pur|
|00000340| 65 20 76 69 72 74 75 61 | 6c 20 0a 66 75 6e 63 74 |e virtua|l .funct|
|00000350| 69 6f 6e 2c 20 79 6f 75 | 20 4d 55 53 54 20 77 72 |ion, you| MUST wr|
|00000360| 69 74 65 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |ite this| functio|
|00000370| 6e 20 66 6f 72 20 79 6f | 75 72 20 63 6c 61 73 73 |n for yo|ur class|
|00000380| 20 62 65 63 61 75 73 65 | 20 69 74 20 69 73 20 6f | because| it is o|
|00000390| 6e 6c 79 20 0a 61 20 64 | 65 66 66 69 74 69 6f 6e |nly .a d|effition|
|000003a0| 20 69 6e 20 74 68 65 20 | 63 6c 61 73 73 20 79 6f | in the |class yo|
|000003b0| 75 20 61 72 65 20 69 6e | 68 65 72 65 74 69 6e 67 |u are in|hereting|
|000003c0| 2e 20 20 49 20 68 61 76 | 65 20 6e 65 76 65 72 20 |. I hav|e never |
|000003d0| 75 73 65 64 20 74 68 69 | 73 20 62 75 74 20 0a 49 |used thi|s but .I|
|000003e0| 20 61 73 73 75 6d 65 20 | 62 6f 72 6c 61 6e 64 20 | assume |borland |
|000003f0| 43 2b 2b 20 77 6f 75 6c | 64 20 6e 6f 74 20 61 6c |C++ woul|d not al|
|00000400| 6f 77 20 74 68 69 73 20 | 74 6f 20 63 6f 6d 70 69 |ow this |to compi|
|00000410| 6c 65 20 62 75 74 20 49 | 20 64 6f 6e 27 74 20 6b |le but I| don't k|
|00000420| 6e 6f 77 20 0a 61 62 6f | 75 74 20 6f 74 68 65 72 |now .abo|ut other|
|00000430| 20 63 6f 6d 70 69 6c 65 | 72 73 2e 20 20 54 68 65 | compile|rs. The|
|00000440| 20 63 6f 6d 70 69 6c 65 | 72 20 6d 61 79 20 62 65 | compile|r may be|
|00000450| 20 70 72 6f 76 69 64 69 | 6e 67 20 61 20 73 74 75 | providi|ng a stu|
|00000460| 62 2e 20 77 69 74 68 20 | 74 68 69 73 20 0a 65 72 |b. with |this .er|
|00000470| 72 6f 72 20 74 6f 20 61 | 6c 6f 77 20 79 6f 75 72 |ror to a|low your|
|00000480| 20 70 72 6f 67 72 61 6d | 20 74 6f 20 63 6f 6d 70 | program| to comp|
|00000490| 69 6c 65 2e 20 20 54 6f | 20 6f 76 65 72 63 6f 6d |ile. To| overcom|
|000004a0| 65 20 74 68 69 73 20 79 | 6f 75 20 77 69 6c 6c 20 |e this y|ou will |
|000004b0| 68 61 76 65 20 0a 74 6f | 20 77 72 69 74 65 20 74 |have .to| write t|
|000004c0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 66 6f 72 20 |he funct|ion for |
|000004d0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 63 6c 61 73 73 |one of t|he class|
|000004e0| 65 73 28 6f 72 20 62 6f | 74 68 29 2e 20 20 20 2e |es(or bo|th). .|
|000004f0| 2e 2e 2e 2e 49 20 74 68 | 69 6e 6b 3a 29 20 0a 0a |....I th|ink:) ..|
|00000500| 20 4e 65 77 62 73 0a 0a | 3e 20 0a 3e 20 54 68 61 | Newbs..|> .> Tha|
|00000510| 6e 6b 73 20 69 6e 20 61 | 64 76 61 6e 63 65 2e 0a |nks in a|dvance..|
|00000520| 3e 20 0a 3e 20 4f 6c 69 | 76 65 72 0a 3e 20 0a 3e |> .> Oli|ver.> .>|
|00000530| 20 0a | | . | |
+--------+-------------------------+-------------------------+--------+--------+